﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using QualityRpt.Dao;
using QualityRpt.Utils;

namespace QualityRpt.Service
{
    public class AirwirePlazaService:BaseService
    {
        private static IAirwirePlazaDao _impDao = null;
        static AirwirePlazaService()
        {
            _impDao = CreateDaoInstance("IAirwirePlazaDao") as IAirwirePlazaDao;
        }
        public static DataTable GetAllLane()
        {
            return _impDao.GetAllLane();
        }
        public static DataTable GetSchema()
        {
            return _impDao.GetList("1=0");
        }
        public static DataRow Save(DataRow row)
        {
            return _impDao.Save(row);
        }
        public static DataRow Update(DataRow row)
        {
            return _impDao.Update(row);
        }
        public static DataTable GetList(string where, string sort)
        {
            return _impDao.GetList(where, sort);
        }
        public static DataTable GetListBySpRd(string spIn,string rdIn,PageUtils pu)
        {
            return _impDao.GetListBySpRd(spIn,rdIn,pu);
        }
        public static DataRow Get(long id)
        {
            return _impDao.Get(id);
        }
        public static void Delete(long id)
        {
            _impDao.Delete(id);
        }
    }
}
